package dao;

import java.util.List;

import Model.Owner;

public class DaoOwner extends DaoBase<Owner>{

	@Override
	public List<Owner> findByName(String name) {
        QParameter<String, String> parameter = new QParameter<>("name", name);
        return search("searchOwnerbyName", parameter);
		
	}

	public List<Owner> findbyAll(){
		
		return search("searchAll");
		
	}
	

}
